package com.example.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.example.demo.entity.User;


public interface UserMapper {
    int insertUser(User user);
	
	int deleteUser(@Param("uid")Integer uid);
	
	int updateUser(User user);
	
	int updatePassword(@Param("password")String password);
	
	int updateName(User user);
	
	int updateUUID(User user);
	
	List<User> selectUser();
	
	User selectOneUser(@Param("uid")Integer uid);
	
	User selectNameAndPassword(User user);
	
	int selectUid(User user);
	
	User selectUUID(@Param("uuid")String uuid);
	
	String selectUUIDAndName(@Param("loname")String loname);
	
	Integer selectRid(@Param("loname")String loname);
}
